home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1999 March
/
EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso
/
cd-sup
/
updatecopy
/
docs
/
updatecopy.doc
next >
Wrap
Text File
|
1999-01-01
|
7KB
|
173 lines
Documentation to UpDateCopy
Version 0.52 - 21.02.1997
$VER: UpDateCopy.doc 0.52 (21.02.1997)
Written by Sven Steiniger
-- Cardware --
------------------------------------------------------------------------------
Introduction
------------------------------------------------------------------------------
UpDateCopy is an extension of the standard copy command. It does not
only copy files and create (if necessary) directories but also process
already existing files: older files are replaced automatical by newer
ones. UpDateCopy first try to find a version-string within the files
($VER: Programname Version.Reversion) and copy only the one with the
higher version or simply compares the dates.
UpDateCopy features multiple sourcefiles, pattern matching and
recursively directory scanning.
------------------------------------------------------------------------------
System requirements
------------------------------------------------------------------------------
- an Amiga :-)
- at least KickStart 2.04
------------------------------------------------------------------------------
Usage
------------------------------------------------------------------------------
Format:
UpDateCopy [FROM] {<sourcename|sourcepattern>} [TO] <destname>
[QUIET] [ALL] [FORCE] [DEEP] [NODATECHECK]
[TESTMODE] [CLONE] [PAPF] [SMARTINFO] [FAST]
Template:
UpDateCopy FROM/M,TO/A,QUIET/S,ALL/S,FORCE/S,DEEP/S,
NDC=NODATECHECK/S,TESTMODE/S,CLONE/S,PAPF/S,
SMARTINFO/S,FAST/S
Parameter:
sourcename, sourcepattern
The names of the files to be copied or directories
(also name patterns).
destname
Name of destination directory.
QUIET
Switch output off. Only error messages are displayed.
ALL
If specified than also subdirctories are scaned and
copied otherwise only files and directorynames of the
source directory.
FORCE
Normally delete-protected files could not be over-
written. If you specify this option UpDateCopy
ignores all Protectionbits.
DEEP
UpDateCopy only compares the dates of existing files.
With the DEEP-option UpDateCopy scans the files first
for version-strings ($VER:) and only if this fails
the dates are compared.
Note: Although this search is written in fast
assembly language it slows things down.
NODATECHECK
UpDateCopy do not compare the datestamps. This might
be useful for packed files.
Note: If this option is specified then the
DEEP-scanmode is switch on by default.
TESTMODE
Switchs the testmode on. UpDateCopy don't copy/replace
older files and directories are not created. But the
outputs are the same as without the testmode.
This option can be used for simply comparing the
contents of two directories.
CLONE
If you set this option, UpDateCopy copies the
datestamp from the source file.
PAPF
Normally UpDateCopy clears the archive protection flag
of a copied file. If you set this option this flag is
not altered.
Note: UpDateCopy always copies
- the protection flags (except archive)
- and the file comment.
SMARTINFO
Now UpDateCopy don't displays skipped directories and
files.
FAST
Switches off linefeeds. This increases processing
speed if you copy many small files (scrolling the
display takes longer than scanning the file).
Examples:
UpDateCopy #? ram:T
Copies all files of the current directory to
"ram:T". Not existing files are copied. Not existing
directories are created. Existing files are only
overwritten if they have a older date.
UpDateCopy #? ram:T ALL
Same as previous but now also scans through sub-
directories.
UpDateCopy #? ram:T DEEP
Same as first example but do not only compares the
dates but first compare the version-strings (if
possible)
UpDateCopy #? ram:T DEEP NDC
Same as first example but do only compares the
version-strings. If no version-string is found nothing
is copied/replaced even if the datestamp is newer.
Also not existing directories are not created.
UpDateCopy #?.info #?.e TO=ram:T ALL DEEP esource:3D/Plotter3D
Copies all files of the of the current directory to
"ram:T" which ends with ".info" or ".e". Also sub-
directories are scanned and the file
"esource:3D/Plotter3D" is copied.
------------------------------------------------------------------------------
Author
------------------------------------------------------------------------------
Send Bugreports, Ideas or anything else to:
Sven Steiniger
Rathener Str. 29
01259 Dresden
Deutschland
Email: ss37@irz.inf.tu-dresden.de
------------------------------------------------------------------------------
Legal Stuff
------------------------------------------------------------------------------
UpDateCopy is CARDWARE, means that you should send me an email if you use it.
Also small presents are very welcome.
Copyright
-----------
UpDateCopy is written by Sven Steiniger. You may use the source freely in your
programs or you may extend it to your own UpDateCopy. But please do not spread
a modified version under this name (UpDateCopy). If the source was useful to
you it would be a good idea to send me your program.
Distribution
--------------
This program can be freely distributed as long as the archiv-contents is
not changed and no profits are made.
Archiv contents:
UpDateCopy/UpDateCopy - the executable
UpDateCopy/Source/UpDateCopy.e - the source file (E language)
UpDateCopy/Docs/UpDateCopy.doc - english documentation
UpDateCopy/Docs/UpDateCopy.dok - german documentation
UpDateCopy/Scripts/BackUpUp - Backup-script by Attilio Scifoni
UpDateCopy/Scripts/BackUpUp2 - modified BackUpUp-script
UpDateCopy/Scripts/BackUpUp_GUI - BackUpUp2 with requesters
UpDateCopy/Scripts/BackUpUp.doc - english description of these scripts
UpDateCopy/readme - short information
Disclaimer
------------
I am (The author) are in no way liable for damages or loss of data directly or
indirectly caused by this program.